/**
 * @Date 2025/1/2 8:57
 * @Created by 衡盛永
 */

package org.example.deploy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.example.deploy.pojo.SysUser;

import java.util.List;

public interface SysUserService extends IService<SysUser> {
    List<SysUser> getUsersXml();

    // 通过用户名获取用户信息
    SysUser getUserByUserName(String username);

    // 通过用户 id 获取角色 id
    Integer getRoleIdByUserId(Integer userId);
}
